package com.addplus.townmall.server.queue;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author fuyq
 * @date 2018/8/24
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.addplus.townmall.server"})
@EnableTransactionManagement
public class TownMallQueueApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(TownMallQueueApplication.class)
                .web(WebApplicationType.NONE)
                .run(args);
    }
}
